/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.sjtu.fx.tools;

import javax.swing.JTable;
import java.util.*;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2004</p>
 * <p>Company: </p>
 * @author not attributable
 * @version 1.0
 */
public class MyTable extends JTable {

    public MyTable() {
        super();
    }

    public MyTable(Vector v1, Vector v2) {
        super(v1, v2);
    }

    /**
     * Returns true if the cell at <code>row</code> and <code>column</code> is
     * editable.
     *
     * @param row the row whose value is to be queried
     * @param column the column whose value is to be queried
     * @return true if the cell is editable
     * @todo Implement this javax.swing.JTable method
     */
    public boolean isCellEditable(int row, int column) {
        return false;//重写这个方法是为了让表的单元格不能被用户编辑！！！
    }
}

